import random
from datetime import datetime
random_timestamp=random.randint(0,2**23)
date = datetime.fromtimestamp(random_timestamp)
print(f"随机生成的时间戳是: {random_timestamp}")
print(f"对应的日期是: {date}")